<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>视频检测结果</title>
    <style>
        body {
            background-image: url("{{ url_for('static', filename='bc.png') }}");
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            height: 100vh;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            font-family: Arial, sans-serif;
        }

        h1 {
            margin-bottom: 20px;
            font-size: 36px;
            color: #333;
        }

        .return-button {
            padding: 12px 24px;
            background-color: #3498db;
            color: #fff;
            text-decoration: none;
            border-radius: 5px;
            transition: background-color 0.3s ease;
            font-size: 18px;
            margin-top: 20px;
        }

        .return-button:hover {
            background-color: #2980b9;
        }
    </style>
</head>
<body>
    <h1>视频检测结果</h1>
    <!-- Display the image here -->
    <img src="{{  last_frame }}" alt="Detection Result">

    <!-- Button to return -->
    <a href="#" onclick="history.go(-1);" class="return-button">返回</a>
</body>
</html>
